<template>
    <!-- 组件结构 -->
    <div class="demo">
        <h2 @click="showName">学生姓名：{{name}}</h2>
        <h2 @click="$hello">学生性别：{{sex}}</h2>
        <input type="text" v-fbind:value='name'>
    </div>
</template>
<script>

    export default {
        name: 'Student',
        data(){
            return{
                name:'Aurora',
                sex:'男'
            }
        },


    }
</script>
